package com.jiuqi.irs.generator.dao.pojo;

import java.io.Serializable;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

/** 
 *        @hibernate.class
 *         table="TB_APPLICATION"
 *     
*/
public class TbApplication implements Serializable {

   
    private String applaGuid;
   
    private String orgGuid;

    private String useQuantity;
    
    private String buyCardNo;
    
    private String applaType;
    
    private String year;
    
    private String startnumber;
    
    private String endnumber;
    
    private String reccreator;
    
    private String accordTime;
    
    private String releaseTime;
    
    private String applaCreatTime;
    
    private String applaLastTime;
    
    private String reserved1;
   
    private String reserved2;
   
    private String reserved3;
	

	public String getYear() {
		return year;
	}



	public void setYear(String year) {
		this.year = year;
	}



	public String getStartnumber() {
		return startnumber;
	}



	public void setStartnumber(String startnumber) {
		this.startnumber = startnumber;
	}



	public String getEndnumber() {
		return endnumber;
	}



	public void setEndnumber(String endnumber) {
		this.endnumber = endnumber;
	}



	public String getReccreator() {
		return reccreator;
	}



	public void setReccreator(String reccreator) {
		this.reccreator = reccreator;
	}



	public String getAccordTime() {
		return accordTime;
	}



	public void setAccordTime(String accordTime) {
		this.accordTime = accordTime;
	}



	public String getReleaseTime() {
		return releaseTime;
	}



	public void setReleaseTime(String releaseTime) {
		this.releaseTime = releaseTime;
	}



	public String getApplaGuid() {
		return applaGuid;
	}



	public void setApplaGuid(String applaGuid) {
		this.applaGuid = applaGuid;
	}



	public String getOrgGuid() {
		return orgGuid;
	}



	public void setOrgGuid(String orgGuid) {
		this.orgGuid = orgGuid;
	}



	public String getUseQuantity() {
		return useQuantity;
	}



	public void setUseQuantity(String useQuantity) {
		this.useQuantity = useQuantity;
	}



	public String getBuyCardNo() {
		return buyCardNo;
	}



	public void setBuyCardNo(String buyCardNo) {
		this.buyCardNo = buyCardNo;
	}



	public String getApplaType() {
		return applaType;
	}



	public void setApplaType(String applaType) {
		this.applaType = applaType;
	}



	public String getApplaCreatTime() {
		return applaCreatTime;
	}



	public void setApplaCreatTime(String applaCreatTime) {
		this.applaCreatTime = applaCreatTime;
	}



	public String getApplaLastTime() {
		return applaLastTime;
	}



	public void setApplaLastTime(String applaLastTime) {
		this.applaLastTime = applaLastTime;
	}



	public String getReserved1() {
		return reserved1;
	}



	public void setReserved1(String reserved1) {
		this.reserved1 = reserved1;
	}



	public String getReserved2() {
		return reserved2;
	}



	public void setReserved2(String reserved2) {
		this.reserved2 = reserved2;
	}



	public String getReserved3() {
		return reserved3;
	}



	public void setReserved3(String reserved3) {
		this.reserved3 = reserved3;
	}



	public TbApplication(String applaGuid, String orgGuid,String useQuantity, String buyCardNo,String year,String startnumber,String endnumber,String reccreator,String accordTime,String releaseTime, String applaCreatTime, String applaLastTime,String reserved1, String reserved2, String reserved3) {
	        this.applaGuid = applaGuid;
		 	this.orgGuid = orgGuid;
		 	this.useQuantity = useQuantity;
		 	this.buyCardNo = buyCardNo;
		 	this.year = year;
		 	this.startnumber = startnumber;
		 	this.endnumber = endnumber;
		 	this.reccreator = reccreator;
		 	this.accordTime = accordTime;
		 	this.releaseTime = releaseTime;
		 	this.applaCreatTime = applaCreatTime;
		 	this.applaLastTime = applaLastTime;
	        this.reserved1 = reserved1;
	        this.reserved2 = reserved2;
	        this.reserved3 = reserved3;
	    }



	public TbApplication() {
    }

    
    public TbApplication(String applaGuid, String orgGuid) {
        this.applaGuid = applaGuid;
        this.orgGuid = orgGuid;
    }



	public String toString() {
		return new ToStringBuilder(this)
        .append("applaGuid", getApplaGuid())
        .toString();
	}



	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((applaGuid == null) ? 0 : applaGuid.hashCode());
		return result;
	}



	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		TbApplication other = (TbApplication) obj;
		if (applaGuid == null) {
			if (other.applaGuid != null)
				return false;
		} else if (!applaGuid.equals(other.applaGuid))
			return false;
		return true;
	}

   
}
